package com.alibaba.common;

import lombok.AllArgsConstructor;
import lombok.Generated;
import lombok.Getter;
import lombok.Setter;

@Getter
@AllArgsConstructor
public enum ResponseEnum {
    PWD_ERROR(5000, "未识别的验证码"),
    SECURITY_CODE_ERROR(5001, "未识别的验证码"),
    IP_IS_BLACK(5002, "当前ip已被封禁"),
    ADD_IP_BLACK_NAME(5002, "请求频繁，当前ip已被加入黑名单"),
    STRING_IS_NOT_BLANCK(5000, "激活码不能为空"),
    RESULT_OK(200, "SUCCESS"),
    NOT_RESET_AUTHRITY(5000, "当前激活码已重置过两次，无法再重置，请联系QQ1097529148处理"),
    PARAM_ERROR(6000, "参数异常");

    final int code;
    final String message;
}
